const routes = [{
    name: "layout",
    path: "/",
    component: () => import("@/layout/index.vue"),
    redirect: "/dashboard",
    children: [{
        name: "dashboard",
        path: "/dashboard",
        component: () => import("@/views/dashboard/index.vue"),
        meta: {
            title: '控制台'
        }
    },{
        name: "webconfig",
        path: "/config/webconfig",
        component: () => import("@/views/config/webconfig/index.vue"),
        meta: {
            title: 'd'
        }
    }],
},{
    name: "login",
    path: "/login",
    component: () => import("@/views/login/index.vue"),
    meta: {
        title: '用户登录'
    }
}]
export default routes